﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace LangMauViet.Models.Entity
{
    [Serializable]
    public class Category
    {
        private long? _advantiseId;
        private string _description;
        private long? _icon;
        private long? _categoryId;
        private string _name;
        private long? _position;
        private long? _type;
        private string _url;
        private string _createDate;
        private string _lastUpdate;
        private long? _parentId;
        private string _keyword;
        private string _shortCode;
        private long? _status;
        private long? _prefixDefineId;
        private long? _crawlerRunning;
        private long? _isLeaf;
        private string _username;
        private string _uploadDir;
        private string _mediaPath;
        private string _requestData;
        private long? _shape;
        private long? _hideSms;

        public Category()
        {
            _advantiseId = 0;
            _description = string.Empty;
            _icon = 0;
            _categoryId = 0;
            _name = string.Empty;
            _position = 0;
            _type = 0;
            _url = string.Empty;
            _createDate = string.Empty;
            _lastUpdate = string.Empty;
            _parentId = 0;
            _keyword = string.Empty;
            _shortCode = string.Empty;
            _status = 0;
            _prefixDefineId = 0;
            _crawlerRunning = 0;
            _isLeaf = 0;
            _username = string.Empty;
            _uploadDir = string.Empty;
            _mediaPath = string.Empty;
            _requestData = string.Empty;
            _shape = 0;
            _hideSms = 0;
        }

        public long? AdvantiseId
        {
            get { return _advantiseId; }
            set { _advantiseId = value; }
        }

        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }

        public long? Icon
        {
            get { return _icon; }
            set { _icon = value; }
        }

        public long? CategoryId
        {
            get { return _categoryId; }
            set { _categoryId = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public long? Position
        {
            get { return _position; }
            set { _position = value; }
        }

        public long? Type
        {
            get { return _type; }
            set { _type = value; }
        }

        public string Url
        {
            get { return _url; }
            set { _url = value; }
        }

        public string CreateDate
        {
            get { return _createDate; }
            set { _createDate = value; }
        }

        public string LastUpdate
        {
            get { return _lastUpdate; }
            set { _lastUpdate = value; }
        }

        public long? ParentId
        {
            get { return _parentId; }
            set { _parentId = value; }
        }

        public string Keyword
        {
            get { return _keyword; }
            set { _keyword = value; }
        }

        public string ShortCode
        {
            get { return _shortCode; }
            set { _shortCode = value; }
        }

        public long? Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public long? PrefixDefineId
        {
            get { return _prefixDefineId; }
            set { _prefixDefineId = value; }
        }

        public long? CrawlerRunning
        {
            get { return _crawlerRunning; }
            set { _crawlerRunning = value; }
        }

        public long? IsLeaf
        {
            get { return _isLeaf; }
            set { _isLeaf = value; }
        }

        public string Username
        {
            get { return _username; }
            set { _username = value; }
        }

        public string UploadDir
        {
            get { return _uploadDir; }
            set { _uploadDir = value; }
        }

        public string MediaPath
        {
            get { return _mediaPath; }
            set { _mediaPath = value; }
        }

        public string RequestData
        {
            get { return _requestData; }
            set { _requestData = value; }
        }

        public long? Shape
        {
            get { return _shape; }
            set { _shape = value; }
        }

        public long? HideSms
        {
            get { return _hideSms; }
            set { _hideSms = value; }
        }
    }
}